<template>
  <div class="myHeader">
    <slot name="title"></slot>
  </div>
</template>

<script>
export default {
  name: "myHeader",
};
</script>

<style lang="scss" scoped>
.myHeader {
  height: 45px;
  line-height: 45px;
  color: #fff;
  text-align: center;
  background: purple;
}
</style>